package com.jd.org.query;

import lombok.Data;

@Data
public class DepartmentQuery {
    private Integer pageNum = 1;
    private Integer pageSize =10;
    public Integer getPage(){
        return(this.pageNum-1)*this.pageSize;
    }
}
